//
//  CKHeaderView.swift
//  onemeetingmac
//
//  Created by 张衡 on 2020/3/5.
//  Copyright © 2020 onemeeting. All rights reserved.
//

import Foundation

class CKHeaderView: NSView {
    
    static let identifier = NSUserInterfaceItemIdentifier.init("CKHeaderView")
    
    override init(frame frameRect: NSRect) {
        super.init(frame: frameRect)
        self.setupUI()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    func setupUI() {
        self.addSubview(title)
        title.snp.makeConstraints { (make) in
            make.height.equalTo(20)
            make.bottom.equalTo(-5)
            make.width.equalTo(200)
            make.left.equalTo(0)
        }
    }
    
    lazy var title: NSLabel = {
        let lab = NSLabel.label(title: "时尚大方", textColor: color_gray(0), font: NSFont.systemFont(ofSize: 14))
        return lab
    }()
}
